package org.ejc.persist.model;

import java.io.Serializable;
import java.util.Date;
import java.sql.Timestamp;
import org.apache.commons.lang.builder.ToStringBuilder;


/** @author Hibernate CodeGenerator */
public class ConventionActivityHistory implements Serializable {

    /** identifier field */
    private Integer id;

    /** persistent field */
    private Timestamp startTime;

    /** persistent field */
    private Timestamp endTime;

    /** persistent field */
    private int conventionId;

    /** full constructor */
    public ConventionActivityHistory(Timestamp startTime, Timestamp endTime, int conventionId) {
        this.startTime = startTime;
        this.endTime = endTime;
        this.conventionId = conventionId;
    }

    /** default constructor */
    public ConventionActivityHistory() {
    }

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Timestamp getStartTime() {
        return this.startTime;
    }

    public void setStartTime(Timestamp startTime) {
        this.startTime = startTime;
    }

    public Timestamp getEndTime() {
        return this.endTime;
    }

    public void setEndTime(Timestamp endTime) {
        this.endTime = endTime;
    }

    public int getConventionId() {
        return this.conventionId;
    }

    public void setConventionId(int conventionId) {
        this.conventionId = conventionId;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("id", getId())
            .toString();
    }

}
